#$Id: PKGBUILD 87389 2013-03-30 14:49:30Z dwallace $ 
# Maintainer: Daniel Wallace <danielwallace at gtmanfred dot com>
# Contributor: portix <portix at gmx.net>

pkgname=dwb
pkgver=2013.03.30
pkgrel=2
pkgdesc="A webkit web browser with vi-like keyboard shortcuts, stable snapshot" 
url="http://portix.bitbucket.org/dwb/"
arch=('i686' 'x86_64')
install=dwb.install
license=('GPL')
depends=('libwebkit' 'desktop-file-utils')
makedepends=('json-c')
source=(https://bitbucket.org/portix/"${pkgname}"/downloads/"${pkgname}"-"${pkgver}".tar.gz)
sha1sums=(57207525896a0c6145e1da69481e3ccc043757e9)

build() {
  cd "${srcdir}"/"${pkgname}"-"${pkgver}"
  make
}
package() {
  cd "${srcdir}"/"${pkgname}"-"${pkgver}"
  export BASHCOMPLETION=/usr/share/bash-completion/completions
  make DESTDIR=${pkgdir} install
}
